<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title>瑞金物资资源管理系统</title>
  <link rel="shortcut icon" href="img/logo/rjh.ico" />
  <link rel="stylesheet" href="css/common/bootstrap.min.css" />
  <link rel="stylesheet" href="css/pages/login.css" />
  <script src="config.js"></script>
  <!--[if lt IE 9]>
    <link rel="stylesheet" href="css/pages/ie8.css"/>
    <script src="js/common/html5shiv.min.js"></script>
    <script src="js/common/respond.min.js"></script>
    <script src="js/common/es5-shim.min.js"></script>
    <![endif]-->
</head>

<body>
  <div class="bg-top"></div>
  <div class="bg-bottom"></div>
  <div id="main" class="login-layout" ms-controller="main">
    <div class="login-layout-top" style="text-align: center;">
      <span>-----------------</span>
      <img src="img/login/u10.jpg" alt="" />
      <div class="hospital-name">
        <p>上海交通大学附属瑞金医院</p>
        <p>物资资源管理系统</p>
      </div>
      <span>-----------------</span>
      <div class="clear"></div>
    </div>
    <form ms-submit="@validate($event)" class="form-horizontal login-form">
      <div class="form-group">
        <label for="username" class="col-sm-3 control-label">用户名</label>
        <div class="col-sm-8">
          <input type="text" class="form-control" id="username" placeholder="请输入用户名" maxlength="5" ms-duplex="@username" />
        </div>
      </div>
      <div class="form-group">
        <label for="password" class="col-sm-3 control-label">密码</label>
        <div class="col-sm-8">
          <input type="password" class="form-control" id="password" placeholder="请输入密码" ms-duplex="@password" />
        </div>
      </div>
      <div class="form-group">
        <label for="department" class="col-sm-3 control-label">科室</label>
        <div class="col-sm-6">
          <select class="form-control" id="department" ms-duplex="@department">
                </select>
        </div>
        <div class="col-sm-2">
          <button type="button" class="btn btn-default" ms-click="@showDepSelectDialog">...</button>
        </div>
      </div>
      <div class="form-group login-btn-group">
        <div class="">
          <button type="submit" class="btn btn-primary">登录</button>
          <button type="button" class="btn btn btn-info">取消</button>
        </div>
      </div>
    </form>
    <div class="login-layout-bottom">
      <div><a href="files/用户手册--临床WEB.docx">下载 简易用户手册</a></div>
      <br/>
      <div>
        <span class="">©</span>
        <span class="login-layout-bottom-name">万达信息股份有限公司版权所有</span>
      </div>
    </div>
    <div style="position: fixed;left: 5px;bottom: 5px;font-size: 12px;color: white;">版本号：{{@version}}</div>
  </div>
  <div th:include="config :: config"></div>
  <script data-main="js/pages/entries/login" src="js/common/require.min.js"></script>
</body>

</html>